﻿using System.Xml.Linq;

namespace PIT.Labs.ProjectRepository.Owl2DotNet.Rdf
{
    class RdfDataType : RdfEntityBase, IDataType
    {
        public RdfDataType(XElement node, RdfOntology o) : base(node, o) {
            o.Insert(this);
        }

        internal RdfDataType(RdfOntology o) : base(o) { }

        public virtual bool Validate(string s)
        {
            //XXX for now...
            return true;
        }
    }
}
